#pragma once
#include <Display/Renders/PointRender/point_render_cpu.h>

namespace PhysLeo {

/**
 * point render cuda version
 */
template<typename T>
class PointRenderCuda :public PointRenderCpu<T> {
public:
	PointRenderCuda();
	~PointRenderCuda();

    void init(SimData<T> &simData) override;
	void transformToDrawData() override;
    void updateDrawData() override;
protected:
	cudaGraphicsResource* vbo_cuda_;
};

}